using System;
using System.Windows.Forms;

namespace OpenComposite.HumanActivity
{
	public partial class frmDebug : Form
	{
		public frmDebug()
		{
			InitializeComponent();
		}

#if DEBUG
		private ServiceMain _svc;
#endif

		private void frmDebug_Load(object sender, EventArgs e)
		{
#if DEBUG
			_svc = new ServiceMain();
			_svc.StartService();
			lblMsg.Text = "Started.";
#endif
		}

		private void frmDebug_FormClosed(object sender, FormClosedEventArgs e)
		{
#if DEBUG
			_svc.StopService();
#endif
		}
	}
}